package org.pih.javarosa.applogic;

import org.javarosa.core.services.locale.Localization;
import org.javarosa.splashscreen.api.SplashScreenState;
import org.javarosa.user.utility.UserUtility;

public class AdultDosageSplashScreenState extends SplashScreenState {

	public AdultDosageSplashScreenState() {
//		super.setBackgroundColor(0x485460);
//		super.getMessageColor() = 0xFFFFFF;
		super(Localization.get("splashscreen"), 5000, 0x485460, 0xFFFFFF);
	}

	public void done() {
		//#if javarosa.dev.shortcuts
		new AdultDosageLoginState().loggedIn(UserUtility.demoUser(true));
		//#else
		new AdultDosageLoginState().start();
		//#endif
	}

}
